package org.jjche.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import org.jjche.common.annotation.Dict;

/**
 * <p>
 * 通用状态枚举
 * </p>
 *
 * @author miaoyj
 */
@Getter
@AllArgsConstructor
public enum CommonStatusEnum implements Dict<Integer> {
    //开启
    ENABLE(1, "开启"),
    //关闭
    DISABLE(0, "关闭");

    CommonStatusEnum(Integer code, String text) {
        init(code, text);
    }
}
